package com.chenxi.controller;

import com.chenxi.util.ResultJson;

public class BaseController {

    public static ResultJson getError(){
        ResultJson r = new ResultJson();
        r.error();
        return r;
    }

    public static ResultJson getSuccess(){
        ResultJson r = new ResultJson();
        r.success();
        return r;
    }
}
